package org.snail.other.bean;

import org.snail.excel.annotation.ExcelBean;
import org.snail.excel.annotation.ExcelColumn;

/**
 * 考勤信息明细（请假、工作日加班、非工作日加班、调休）
 * Created by WJ on 2017/11/13.
 */
@ExcelBean
public class ExtWorkSheet {

    //姓名
    @ExcelColumn(name = "employeeName", position=0, columnName = "工号")
    private String employeeName;

    //阿里工号
    @ExcelColumn(name = "aliNumber", position=1, columnName = "姓名")
    private String aliNumber;

    //类型
    @ExcelColumn(name = "workType", position=2, columnName = "类型")
    private String workType;

    //开始时间
    @ExcelColumn(name = "startTime", position=3, columnName = "开始时间")
    private String startTime;

    //结束时间
    @ExcelColumn(name = "endTime", position=4, columnName = "结束时间")
    private String endTime;

    //时长
    @ExcelColumn(name = "hours", position=5, columnName = "时长（小时）")
    private String hours;

    //备注
    @ExcelColumn(name = "comments", position=6, columnName = "备注")
    private String comments;

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getAliNumber() {
        return aliNumber;
    }

    public void setAliNumber(String aliNumber) {
        this.aliNumber = aliNumber;
    }

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getHours() {
        return hours;
    }

    public void setHours(String hours) {
        this.hours = hours;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    @Override
    public String toString() {
        return "ExtWorkSheet{" +
                "employeeName='" + employeeName + '\'' +
                ", aliNumber='" + aliNumber + '\'' +
                ", workType='" + workType + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", hours='" + hours + '\'' +
                ", comments='" + comments + '\'' +
                '}';
    }
}
